package com.wings4.school.attendance
import com.wings4.school.academicconfiguration.AcademicYear
import com.wings4.school.academicconfiguration.AcademicClasses
import com.wings4.school.academicconfiguration.AcademicSection
import com.wings4.school.student.Subject
import com.wings4.school.student.Student


class ExamAttendance {
    AcademicYear academicYear;
    AcademicClasses academicClasses;
    AcademicSection academicSection;
    Student student;
    Subject subject;
    boolean presentStatus;
    Date presentData;
    Date modifiedDate;
    boolean status;

    static constraints = {
        modifiedDate(nullable: true);
        academicSection(nullable: true);

    }
    static mapping = {
        presentData(sqlType: 'date');
        modifiedDate(sqlType: 'date');
    }
}
